import java.awt.Image;
/**

 *
 *clasa abstracta Character implementeaza CharacterIF
 */
public abstract class Character implements CharacterIF { 
	
	String name;
	Image image;
/////////////////////...
    /**
     * Override clone to make it public.
     */
    public Object clone() {
        try {
            return super.clone();
        }  catch (CloneNotSupportedException e) {
            // should never happen because this class
            // implements Cloneable.
            throw new InternalError();
        }  // try
    } // clone()

    public String getName() {  return name; }

    public void setName(String name) {  this.name = name; } 

    public Image getImage() {  return image; } 

    public void setImage(Image image) {  this.image = image; } 
/////////////////////////////////...
} // class Character
